{{#* inline 'initMsgTempl' msgTempl}}
        contentType: "{{msgTempl.contentType}}",
        subject: "{{msgTempl.subject}}",
        subPSLanguageRes: {lanResTag: "{{msgTempl.subPSLanguageRes.lanResTag}}"},
        content: "{{msgTempl.content}}",
{{/inline}}
{{#* inline 'initViewMsg' viewMsg}}
        name: "{{viewMsg.name}}",
        codeName: "{{viewMsg.codeName}}",
        dynamicMode: {{viewMsg.dynamicMode}},
        message: "{{viewMsg.message}}",
        messageType: "{{viewMsg.messageType}}",
    {{#if viewMsg.psAppMsgTempl}}
        msgTempl: {
    {{> initMsgTempl msgTempl=viewMsg.psAppMsgTempl}}
        },
    {{/if}}
        position: "{{viewMsg.position}}",
        removeMode: {{viewMsg.removeMode}},
        title: "{{viewMsg.title}}",
        titleLanResTag: "{{viewMsg.titleLanResTag}}",
        titlePSLanguageRes: {lanResTag: "{{viewMsg.titlePSLanguageRes.lanResTag}}"},
        enableRemove: {{viewMsg.enableRemove}},
    {{#if (eq viewMsg.dynamicMode 1)}}
        psAppDataEntity: {
            codeName: "{{viewMsg.psAppDataEntity.codeName}}"
        },
        psAppDEDataSet: {
            codeName: "{{viewMsg.psAppDEDataSet.codeName}}"
        },
        orderValuePSAppDEField: {
            codeName: "{{viewMsg.orderValuePSAppDEField.codeName}}"
        },
        titlePSAppDEField: {
            codeName: "{{viewMsg.titlePSAppDEField.codeName}}"
        },
        contentPSAppDEField: {
            codeName: "{{viewMsg.contentPSAppDEField.codeName}}"
        },
        msgTypePSAppDEField: {
            codeName: "{{viewMsg.msgTypePSAppDEField.codeName}}"
        },
        msgPosPSAppDEField: {
            codeName: "{{viewMsg.msgPosPSAppDEField.codeName}}"
        },
        removeFlagPSAppDEField: {
            codeName: "{{viewMsg.removeFlagPSAppDEField.codeName}}"
        },
        titleLanResTagPSAppDEField: {
            codeName: "{{viewMsg.titleLanResTagPSAppDEField.codeName}}"
        },
    {{/if}}
{{/inline}}
bodyStyle: "{{viewMsgGroup.bodyStyle}}",
bottomStyle: "{{viewMsgGroup.bottomStyle}}",
codeName: "{{viewMsgGroup.codeName}}",
topStyle: "{{viewMsgGroup.topStyle}}",
{{#if viewMsgGroup.psAppViewMsgGroupDetails}}
viewMsgGroupDetails: [
{{#each viewMsgGroup.psAppViewMsgGroupDetails as | viewMsgGroupDetail |}}
    {
        position: "{{viewMsgGroupDetail.position}}",
        {{#if viewMsgGroupDetail.psAppViewMsg}}
        viewMsg: {
    {{> initViewMsg viewMsg=viewMsgGroupDetail.psAppViewMsg}}
        }
        {{/if}}
    },
{{/each}}
]
{{/if}}
